representation of graph in discrete mathematics